﻿using System;
using System.Data;
using OneMG.Phoenix.Entity;
using System.Collections.Generic;
namespace OneMG.Phoenix.Respository
{
    public interface IProduct
    {
    
        System.Int32 AddProduct(EProduct product);

        void UpdateByProductID(EProduct product);

		void DeleteByProductID(System.Int32 productID);
		 
        EProduct GetByProductID(System.Int32  productID);

        IList<EProduct> GetPagedList(int pageSize, int pageIndex, int CategoryID, out int totalRecord);


    }
}